#ifndef DASHBOARD_H
#define DASHBOARD_H

#include <QDialog>

namespace Ui {
class Dashboard;
}

class Dashboard : public QDialog
{
    Q_OBJECT

public:
    explicit Dashboard(QWidget *parent = 0);
    ~Dashboard();
    void reload();

private slots:
    void on_tbv_group_doubleClicked(const QModelIndex &index);

    void on_tbv_task_doubleClicked(const QModelIndex &index);

    void on_btn_add_group_clicked();

    void on_btn_add_task_clicked();

    void on_btn_exit_clicked();

private:
    Ui::Dashboard *ui;
    void ui_init();
};

#endif // DASHBOARD_H
